package com.himore.api.web.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.himore.api.common.core.domain.CustomerBigdecimalSerialize;
import com.himore.api.common.core.domain.CustomerDoubleSerialize;

import java.math.BigDecimal;

public class YearCountVO {
    private int year;
    private  int  totalShiftCounts;

    public BigDecimal getYearAmount() {
        return YearAmount;
    }

    public void setYearAmount(BigDecimal yearAmount) {
        YearAmount = yearAmount;
    }

    public BigDecimal getYearSalary() {
        return YearSalary;
    }

    public void setYearSalary(BigDecimal yearSalary) {
        YearSalary = yearSalary;
    }

    public BigDecimal getTotalOutcome() {
        return totalOutcome;
    }
    public void setTotalOutcome(BigDecimal totalOutcome) {
        this.totalOutcome = totalOutcome;
    }

    @JsonSerialize(using = CustomerBigdecimalSerialize.class)
    private BigDecimal YearAmount;

    @JsonSerialize(using = CustomerBigdecimalSerialize.class)
    private BigDecimal YearSalary;

    @JsonSerialize(using = CustomerBigdecimalSerialize.class)
    private BigDecimal totalOutcome;




    public int getTotalShiftCounts() {
        return totalShiftCounts;
    }

    public void setTotalShiftCounts(int totalShiftCounts) {
        this.totalShiftCounts = totalShiftCounts;
    }

    public int getYear() {
        return year;
    }
    public void setYear(int year) {
        this.year = year;
    }



    @Override
    public String toString() {
        return "YearCountVO{" +
                "year=" + year +
                ", YearAmount=" + YearAmount +
                ", totalShiftCounts=" + totalShiftCounts +
                '}';
    }

}
